projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae6fc3
)
Let routes honor selected character set in Garmins.
author
robertl
<robertl>
Tue, 16 Sep 2008 03:59:02 +0000
(
03:59
+0000)
committer
robertl
<robertl>
Tue, 16 Sep 2008 03:59:02 +0000
(
03:59
+0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index b387790a87e2d5068108ff38f83ef349dc113e99..98269fd7f8c2d421ba9795e4246eb68d81cb166c 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-970,8
+970,8
@@
route_waypt_pr(const waypoint *wpt)
d = rte->ident;
for (s = wpt->shortname; *s; s++) {
int c = *s;
- if (isalpha(c)) c = toupper(c);
- if (strchr(
MILITANT_VALID_WAYPT_CHARS
, c)) {
+ if (
receiver_must_upper &&
isalpha(c)) c = toupper(c);
+ if (strchr(
valid_waypt_char
, c)) {
*d++ = c;
}
}